package cn.edu.ujn.project.supermarket.extendbean;

import cn.edu.ujn.project.common.annotation.Excel;
import cn.edu.ujn.project.supermarket.domain.GoodsInfor;

public class GoodsInforChild extends GoodsInfor {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
   
    @Excel(name = "销售数量")
	protected int sellQuantity;

	public void setSellQuantity(int sellQuantity) {
		this.sellQuantity = sellQuantity;
	}

	public GoodsInforChild() {
		super();
	}

	public GoodsInforChild(int sellQuantity,GoodsInfor g) {
		super(g);
		this.sellQuantity = sellQuantity;
	}

	@Override
	public String toString() {
		return "GoodsInforChild [sellQuantity=" + sellQuantity + ", name=" + name + ", barCode=" + barCode + ", price="
				+ price + ", inportPrice=" + inportPrice + ", picturePath=" + picturePath + ", quantity=" + quantity
				+ "]";
	}
	
}
